<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:sg="http://java.sun.com/jsf/composite/ezcomp">

    <h:head>
        <h:outputStylesheet library="css" name="Main.css" />
        <h:outputStylesheet library="css" name="TopMenu.css" />
        <h:outputStylesheet library="css" name="Footer.css" />
        <h:outputScript library="javascript" name="jQuery.js" />
        <h:outputScript library="javascript" name="cycle.js" />
        <h:outputScript library="javascript" name="facebookApi.js" />
        <h:outputScript library="javascript" name="MyFaceBook.js" />
        <title>SmartGrid</title>
        <script type="text/javascript"> 
            $(document).ready(function() {
                $('.slideshow').cycle({
                    fx: 'scrollUp'
                });
            });
        </script>
        <style type="text/css"> 
            .slideshow { height: 150px; width: 730px; margin: auto; }
        </style>
    </h:head>
    <h:body>
        <div id="fb-root"></div>
        <script>
            var SG = SmartGrid();
        </script>
        <sg:pageHeader>
            <ui:param name="menu" value="false" />
        </sg:pageHeader>
        <div class="slideshow">
            <h:graphicImage library="images" name="slide1.png" />
            <h:graphicImage library="images" name="slide2.png" />
        </div>
        <h2>
            <h:outputText value="Não está autenticado no facebook." />
        </h2>
        <p>
            <h:outputText value="Deve primeiro fazer login para depois começar a usar a aplicação." />
        </p>
        <h:form>
            <h:graphicImage library="images" name="fblogin.png" style="cursor: pointer;" onclick="SG.login(); return false;" />
        </h:form>
        <sg:pageFooter />
    </h:body>
</html>

